package com.william.jira.model;

import lombok.Builder;
import lombok.Data;

/**
 * Jira查询参数
 */
@Data
@Builder
public class JiraQueryParams {
    private String assignee;
    private String startDate;
    private String endDate;
    private String project;
    private String issueType;
    private String status;
    private String orderBy;
    private boolean ascending;

    public static JiraQueryParams.JiraQueryParamsBuilder builder() {
        return new JiraQueryParams.JiraQueryParamsBuilder()
                .orderBy("updated")
                .ascending(false);  // 默认按更新时间降序
    }
} 